//
//  ChildHoodService.h
//  ChildHoodStemp
//  Created by xuzuotao on 13-8-24.
//
//

#import <Foundation/Foundation.h>
#import "Snsp.pb.h"
#import "CFileModel.h"
//@class ChildHoodUser;
//@class ChildHoodMemory;
enum SNSPNetworkStatus
{
    kSNSPNetworkStatusIdel = 100,
    kSNSPNetworkStatusConnecting,
    kSNSPNetworkStatusLogined,
    kSNSPNetworkstatusDisconnected
    
};

@interface CHSProcessReport : NSObject
@property(nonatomic, assign)long long pos;
@property(nonatomic, assign)long long total;
@property(nonatomic, strong)NSString* fileUri;


@end

@interface ChildHoodService : NSObject

+ (instancetype)defaultService;
- (NSString *)filePath;
- (NSString *)personalFilePath;

- (NSString *)groupFilePath;

- (NSString *)personalUploadFilePath;

- (NSString *)personalDownloadFilePath;

- (NSString *)groupUploadFilePath;

- (NSString *)groupDownloadFilePath;

- (NSString *)personalUploadSoundPathWithUserId:(NSString *)userId;

- (NSString *)personalDownloadSoundPathWithUserId:(NSString *)userId;

- (NSString *)groupUploadSoundPathWithGroupId:(NSString *)groupId;

- (NSString *)groupDownloadSoundPathWithGroupId:(NSString *)groupId;

- (NSString*)personalUploadVideoPathWithUserId:(NSString*)userId;

- (NSString*)personalDownloadVideoPathWithUserId:(NSString*)userId;

- (NSString*)groupDownloadVideoPathWithGroupId:(NSString*)groupId;

- (NSString*)groupUploadVideoPathWithGroupId:(NSString*)groupId;

- (NSString *)personalUploadImagePathWithUserId:(NSString *)userId;

- (NSString *)personalDownloadImagePathWithUserId:(NSString *)userId;

- (NSString *)groupUploadImagePathWithGroupId:(NSString *)groupId;

- (NSString *)groupDownloadImagePathWithGroupId:(NSString *)groupId;

- (NSString *)personalDownLoadFilePathWithUserId:(NSString *)userId;

- (NSString *)personalUpLoadFilePathWithUserId:(NSString *)userId;

- (NSString *)groupDownLoadFilePathWithGroupId:(NSString *)GroupId;

- (NSString *)groupUpLoadFilePathWithGroupId:(NSString *)GroupId;

- (void)saveGroupUpLoadFileWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)saveGroupDownLoadFileWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)savePersonalUpLoadFileWithFileName:(NSString *)fileName content:(NSData *)content userId:(NSString *)userId;

- (void)savePersonalDownLoadFileWithFileName:(NSString *)fileName content:(NSData *)content userId:(NSString *)userId;

- (void)saveGroupUpLoadSoundWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)saveGroupDownLoadSoundWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)savePersonalUpLoadSoundWithFileName:(NSString *)fileName content:(NSData *)content userId:(NSString *)userId;

- (void)savePersonalDownLoadSoundWithFileName:(NSString *)fileName content:(NSData *)content userId:(NSString *)userId;
- (void)saveGroupUpLoadVideoWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)saveGroupUpLoadImageWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)saveGroupDownLoadImageWithFileName:(NSString *)fileName content:(NSData *)content groupId:(NSString *)GroupId;

- (void)savePersonalUpLoadImageWithFileName:(NSString *)fileName content:(NSData *)content userId:(NSString *)userId;

- (void)savePersonalDownLoadImageWithFileName:(NSString *)fileName content:(NSData *)content userId:(NSString *)userId;

- (void)savePersonalUpLoadVideoWithFileName:(NSString*)fileName content:(NSData*)content userId:(NSString*)userId;

- (void)savePersonalDownLoadVideoWithFileName:(NSString*)fileName content:(NSData*)content userId:(NSString*)userId;

@property (nonatomic, assign) CGFloat progressValue;
@property (nonatomic, strong) CFileModel *fileModel;
@property (nonatomic, copy) NSString *imgLocalFilePath;
@property (nonatomic,copy)NSString *forwardText;

@end